- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- connectionClose
ResponseBuilder connectionClose()
Undocumented in source. Be warned that the author may not have intended to support it.
- header
ResponseBuilder header(string name, T value)
Set a header on the Response.
- header
ResponseBuilder header(HttpHeaderCode code, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
- promise
ResponseBuilder promise(string url, string host)
Undocumented in source. Be warned that the author may not have intended to support it.
- send
void send()
Undocumented in source. Be warned that the author may not have intended to support it.
- sendWithEOM
void sendWithEOM()
Undocumented in source. Be warned that the author may not have intended to support it.
- setBody
ResponseBuilder setBody(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- setResponseHandler
void setResponseHandler(ResponseHandler txn)
Undocumented in source. Be warned that the author may not have intended to support it.
- status
ResponseBuilder status(ushort code, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
- status
int status()
Get the status code for the response.
- withHeaders
ResponseBuilder withHeaders(string[string] headers)
Add an array of headers to the response.